
.addbox {
    width: 500px;
    background-color: #fff;
    position: fixed;
    left: 50%;
    top: 50%;
    border: 1px solid #666;
    padding: 20px 40px;
    border-radius: 5px;
    margin-left: -270px;
}

.addbox.live {
    height: 480px;
    margin-top: -240px;
}

.addbox legend {
    font-weight: bold;
    font-size: 20px;
    line-height: 40px;
    margin-bottom: 20px;
}

.addbox legend .close {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 20px;
    top: 0px;
    padding: 10px;
    text-align: center;
    color: #666;
    opacity: 1;
}

.addbox legend .close:hover {
    color: #f60;
}

.addbox label {
    width: 100px;
    text-align: right;
    padding-right: 20px;
    vertical-align: middle;
}

.addbox .txtlong label {
    vertical-align: top;
}

.addbox input, .addbox textarea {
    width: 280px;
}
.addbox input[type=file]{
    display: inline-block;
}
.additem {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 120px;
    line-height: 40px;
    height: 40px;
}

.additem:hover {
    color: #fff;
    text-decoration: none;
}
.addbox .btn-primary,
.addbox .btn-primary.active.focus,
.addbox .btn-primary.active:focus,
.addbox .btn-primary.active:hover,
.addbox .btn-primary:active.focus,
.addbox .btn-primary:active:focus,
.addbox .btn-primary:active:hover,
.addbox .open > .dropdown-toggle.btn-primary.focus,
.addbox .open > .dropdown-toggle.btn-primary:focus,
.addbox .open > .dropdown-toggle.btn-primary:hover {
    border: 1px solid #fff;
}

.addbox .Zbtn{
    margin: 0 auto;
    margin-top: 20px;
    border: 1px solid #fff;
    width: 80px;
}